home *** CD-ROM | disk | FTP | other *** search
/ Learn Microsoft Visual Basic 6.0 Now / Learn Microsoft Visual Basic 6.0 Now (Microsoft Press)(X03-58607)(1998).ISO / media / chap01 / b01d010.cc2 < prev    next >
Text File  |  1998-06-07  |  3KB  |  69 lines

  1. 0, Before we get started writing programs 
  2. 4, I'd like to show you a few techniques for 
  3. 5, moving windows around in the Visual 
  4. 7, Basic programming environment. One of the 
  5. 9, first windows you'll want to move is the 
  6. 10, Form window. This is the window that 
  7. 13, you'll use to design your user interface, 
  8. 15, so you'll want to have plenty of real 
  9. 16, estate for the Form window. You can drag 
  10. 18, the Form window by clicking a selection 
  11. 21, handle at the lower right-hand corner of 
  12. 22, the Form window and resizing it. This is 
  13. 26, exactly what you'll want to do when 
  14. 27, you're creating the exact size of the window 
  15. 29, that your users will see. If you want 
  16. 31, to create a window that's bigger than the 
  17. 33, Project window, just simply drag it 
  18. 34, outside of the Project window. And when you 
  19. 38, release the mouse, scroll bars will 
  20. 40, appear that will let you scroll various 
  21. 42, parts of your Form window. You can also 
  22. 46, resize the tool windows in the Visual Basic 
  23. 49, programming environment by clicking 
  24. 51, slightly above the title bar and dragging 
  25. 53, downward or upward. In this case, we 
  26. 57, dragged the Project window down and it gave 
  27. 60, us a little more space to see properties 
  28. 62, in the Properties window. But if we 
  29. 64, want to have even more space for the 
  30. 66, Properties window, we can go ahead and 
  31. 67, double-click the Properties window title bar 
  32. 70, and display the entire Properties window. 
  33. 72, After we've set a few properties, we can 
  34. 74, send it back by double-clicking the 
  35. 76, title bar again. This process of displaying 
  36. 79, a window in its expanded state and in 
  37. 82, its snapped state is called docking. And 
  38. 86, we can move windows around in the Visual 
  39. 87, Basic programming environment quite 
  40. 89, easily by dragging them. Right now, I'm 
  41. 93, dragging the Properties window and you can 
  42. 94, see a darker border around the 
  43. 96, Properties window. That means that when I 
  44. 98, release the mouse, the window will appear in 
  45. 100, its full expanded state. But if I move 
  46. 105, the window back over some other windows, 
  47. 108, you'll see that a thin border appears. 
  48. 110, This means that the window will dock or 
  49. 112, snap into place when I release the mouse 
  50. 114, button. Finally, I'd like to show you 
  51. 120, how you can close windows in the Visual 
  52. 122, Basic programming environment. To close a 
  53. 124, window, simply click the Close button in 
  54. 127, the upper right-hand corner of the 
  55. 129, Windows title bar. Here, I'll close the 
  56. 130, Properties window, and I'll also close the 
  57. 135, Project window. Finally, I'll close the 
  58. 138, Form Layout window. Now, you can see we 
  59. 140, have plenty of space to see our form, if 
  60. 142, that's what we wanted to do. To make the 
  61. 144, windows appear again, we'll just click 
  62. 146, those commands in the View menu. We'll 
  63. 149, click View and go down and click Project 
  64. 151, Explorer to display the Project window. 
  65. 154, We'll click Properties Window to display 
  66. 157, the Properties window, and we'll click 
  67. 159, Form Layout Window to display the Form 
  68. 161, Layout window.
  69. 165, END